package com.mantisframework.sys.service;

import java.io.Serializable;
import java.util.Map;

import com.mantisframework.core.base.service.IBaseService;
import com.mantisframework.core.page.PageBean;
import com.mantisframework.model.MSysUsers;
import com.mantisframework.sys.enumbean.UserSearchFields;

public interface ISysUsersService extends IBaseService<MSysUsers> {
	public boolean deleteUserById(Serializable id);
	public boolean modifyUser(MSysUsers user);
	public PageBean querySysUsers(Map<UserSearchFields, String> criterias,PageBean pagebean);
	public PageBean querySysUsers(Map<UserSearchFields, String> criterias,PageBean pagebean,String orderDirect, String orderField);
	public boolean hasExistUser(String loginName);
	public boolean validateRequired(MSysUsers user, boolean validateLoginName);
}
